#gallery {
    float:left;
	display:inline;
	padding:0;
	margin:0;
	width: 305px;
}
#gallery ul { float:left; list-style: none; }
#gallery ul li { display: inline; }
#gallery ul img {
	width:65px;
	height:45px;
	margin:0;
	border: 4px solid #ffffff;

}
#gallery ul a:hover img {
	border: 4px solid #cccccc;
	color: #fff;	
}
#gallery ul a:hover { color: #fff; }